package com.ssy.lingxi.scheduler.api.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 任务触发执行后，通知创建任务的服务
 * @author 万宁
 * @version 2.0.0
 * @date 2021-07-12
 */
public class ScheduleTaskCallbackVO implements Serializable {
    private static final long serialVersionUID = 5978174868805240729L;

    /**
     * 任务Id
     */
    private Long taskId;

    /**
     * 会员Id
     */
    private Long memberId;

    /**
     * 角色Id
     */
    private Long roleId;

    /**
     * 任务参数列表
     */
    private List<Long> dataIds;

    /**
     * 任务的附加属性
     */
    private Map<String, Object> taskAttributes;

    /**
     * 任务已经执行的次数
     */
    private Integer execCount;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Long> getDataIds() {
        return dataIds;
    }

    public void setDataIds(List<Long> dataIds) {
        this.dataIds = dataIds;
    }

    public Map<String, Object> getTaskAttributes() {
        return taskAttributes;
    }

    public void setTaskAttributes(Map<String, Object> taskAttributes) {
        this.taskAttributes = taskAttributes;
    }

    public Integer getExecCount() {
        return execCount;
    }

    public void setExecCount(Integer execCount) {
        this.execCount = execCount;
    }
}
